﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EvolutionBaseTypes.Interfaces;



namespace EvolutionBaseType
{
    public abstract class WorldItem : IPlaceable
    {
        private Point position;

        public WorldItem ParentWorldItem { get; set; }

        public Point Position
        {
            get
            {
                return position;
            }
            set
            {
                position = value;
            }
        }

        public WorldItem(Point position, WorldItem parentItem)
        {
            this.position = position;
            this.ParentWorldItem = parentItem;
        }

        public WorldItem()
        {

        }
    }
}